<!--<div class="btn-group" align="right">-->
<!--	<A class="btn " href="/admin/user/add"><i class="icon-plus"></i>Thêm</A>-->
<!--</div>-->

<script>
    
$(document).ready(function() {
	 
    $('#timepicker').datepicker({
        dateFormat: "yy-mm-dd",
        timeFormat: "HH:mm:ss"

    });
    $('#timepicker1').datepicker({
        dateFormat: "yy-mm-dd",
        timeFormat: "HH:mm:ss"

    });
   
  
  });

</script>
<?php echo $this->search_form;?>
<p></p>

<table style="float:left" id="user" class="table table-bordered table-striped">
	<tr>
		<th>STT</th>
		<th>Username</th>
		<th>Số điện thoại</th>
		<th>Email</th>
		<th>Ngày Sinh</th>
		<th>Giới tính</th>
		<th>Thời gian tạo</th>		
		<th>Đăng ký qua</th>
		<th>Nút chức năng</th>
	</tr>
	<?php foreach ($this->paginator as $key => $value):?>
		<tr>
			<td><?php echo $key + 1 + $this->paginator->getItemCountPerPage() * ($this->paginator->getCurrentPageNumber() - 1)?></td>
			<td><?php echo $value['Username']?></td>
			<td><?php echo $value['Contact Phone']?></td>
			<td><?php echo $value['Email']?></td>
			<td><?php echo $value['Birthday']?></td>
			<td><?php echo $value['Gender']?></td>
			<td><?php echo $value['create_time']?></td>
			<td><?php echo $value['via']?></td>
			<td>View</td>
		</tr>
	<?php endforeach;?>
</table>

<div style="float:left">
<?php $arrParams=array('arrParams'=>$this->arrParam);?>

<?php echo  $this->paginationControl($this->paginator, 'Sliding', 'user/pagination.phtml',$arrParams); ?>
</div>
